﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VirtualMoneyList.aspx.cs"
    Inherits="FinanceCenter_VirtualMoneyList" %>

<%@ Register Assembly="Shove.Web.UI.2 For.NET 2.0" Namespace="Shove.Web.UI" TagPrefix="ShoveWebUI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>山顶软件 - 财务中心</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <center>
        <form id="form1" runat="server">
        <div>
            <br />
            <table border="0" cellpadding="0" cellspacing="1" style="
                width: 98%;">
                <tr>
                    <td>
                    <table style="text-align:left; width:100%;">
                        <tr>
                            <td align="left" style="height: 25px; text-align:left;" width="80px" >
                                会员搜索：
                            </td>
                            <td align="left" valign="top" style="height: 25px; width: 350px;">
                                <asp:TextBox ID="tbSearch" runat="server" MaxLength="20"></asp:TextBox>
                                <asp:Button ID="btnSearch" runat="server" Text=" 查找 " OnClick="btnSearch_Click" />
                                <asp:Button ID="btnSearchAll" runat="server" OnClick="btnSearchAll_Click" Text="查找所有" />
                            </td>
                            <td></td>
                        </tr>
                    </table>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="3">
                        <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                            CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                            AllowPaging="True" CssClass="gStyle" OnItemCreated="g_ItemCreated" ShowFooter="True"
                            OnItemDataBound="g_ItemDataBound">
                            <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                            <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                            <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                            </HeaderStyle>
                            <ItemStyle CssClass="gItem" BackColor="White" />
                            <Columns>
                                <asp:BoundColumn DataField="ID" HeaderText="序号" ReadOnly="True"></asp:BoundColumn>
                                <asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="AdminUserEdit.aspx?id={0}"
                                    DataTextField="Name" HeaderText="用户名"></asp:HyperLinkColumn>
                                <asp:BoundColumn DataField="RealityName" HeaderText="真实姓名"></asp:BoundColumn>
                                <asp:BoundColumn DataField="Sex" HeaderText="性别"></asp:BoundColumn>
                                <asp:BoundColumn DataField="IDCardNumber" HeaderText="身份证"></asp:BoundColumn>                                                                                                
                                <asp:BoundColumn DataField="VirtualMoney" HeaderText="电子货币余额"></asp:BoundColumn>
                                <asp:BoundColumn DataField="BV" HeaderText="返还货币余额"></asp:BoundColumn>
                            </Columns>
                            <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                            </PagerStyle>
                        </asp:DataGrid>
                        <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                            runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                            OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                            GuiseColor="False" ClientNavigation="true" PageSize="10" />
                        <br>
                    </td>
                </tr>
                <tr>
                    <td style="height: 23px">
                        <asp:Button ID="btnExcel" runat="server" Text="导出Excel" Width="90px" OnClick="btnExcel_Click" />
                    </td>
                </tr>
            </table>
            <br />
        </div>
        </form>
    </center>
</body>
</html>
